/* pages/category/category.wxss */

page {
    height: 100%;
}

.container {
    display: flex;
    flex-direction: row;
    height: 100%;
}

.main {
    position: fixed;
    display: flex;
    overflow: hidden;
    margin-top: 100 rpx;
    height: calc(100% - 100rpx);
}

/* 搜索栏 */

.search-bar {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    color: #777;
    background: #fff;
    box-shadow: 0 2 rpx 6 rpx rgba(0, 0, 0, 0.07);
    z-index: 3;
    padding: 20 rpx 0;
}

.search-bar .arrow {
    width: 20 rpx;
    height: 20 rpx;
    border-bottom: 2 rpx solid #777;
    border-left: 2 rpx solid #777;
    transform: rotate(45deg);
    position: absolute;
    left: 30 rpx;
    top: 41 rpx;
}

.search-bar .search-box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60 rpx;
    background: #f7f7f7;
    z-index: 999;
    width: 92%;
    border-radius: 50 rpx;
    text-align: center;
    margin: auto;
}

.sear-input {
    font-size: 28 rpx;
}

.search-bar .search-hint {
    font-size: 28 rpx;
    position: absolute;
    right: 30 rpx;
    top: 32 rpx;
}

.search-bar .search-box .search-img {
    width: 32 rpx;
    height: 32 rpx;
    margin-right: 10 rpx;
}

/* 左侧菜单栏 */

.leftmenu {
    width: 200 rpx;
    height: 100%;
    box-sizing: border-box;
    background-color: #f5f6f7;
    overflow: scroll;
    z-index: 2;
}

.menu-item {
    line-height: 90 rpx;
    height: 90 rpx;
    text-align: center;
    border-bottom: 2 rpx silid #e3e3e3;
    position: relative;
    color: #777;
    font-size: 28 rpx;
}

.menu-item.active {
    color: #eb2444;
    font-size: 28 rpx;
    font-weight: bold;
    position: relative;
    background: #fff;
}

.menu-item.active:before {
    position: absolute;
    left: 0;
    content: "";
    width: 8 rpx;
    height: 32 rpx;
    top: 29 rpx;
    background: #eb2444;
}

.menu-item text.tips-num {
    position: absolute;
    top: 20 rpx;
    right: 15 rpx;
    border-radius: 15 rpx;
    width: 30 rpx;
    height: 30 rpx;
    background: red;
    color: #fff;
    font-size: 25 rpx;
    line-height: 30 rpx;
}

/* 右侧商品栏 */

.rightcontent {
    width: 550 rpx;
    height: 100%;
    box-sizing: border-box;
    background-color: #fff;
    z-index: 1;
}

.rightcontent .adver-map {
    width: auto;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    margin: 30 rpx 20 rpx 0;
}

.rightcontent .adver-map .item-a {
    display: block;
    font-size: 0;
    width: 100%;
}

.rightcontent .adver-map .item-a image {
    max-width: 100%;
}

.rightcontent .cont-item {
    padding: 0 20 rpx 20 rpx 20 rpx;
    padding-bottom: 94 rpx;
}

.rightcontent .cont-item .show-item .more-prod-pic {
    text-align: center;
    width: 150 rpx;
    height: 150 rpx;
    line-height: 150 rpx;
    font-size: 0;
}

.rightcontent .cont-item .show-item .more-prod-pic .more-pic {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8 rpx;
    vertical-align: middle;
}

.rightcontent .cont-item .show-item {
    position: relative;
    display: flex;
    justify-content: start;
    padding: 20 rpx 0;
}

.rightcontent .cont-item .show-item::after {
    content: '';
    background-color: #f4f4f4;
    left: 0;
    height: 1px;
    transform-origin: 50% 100% 0;
    bottom: 0;
    position: absolute;
    display: block;
    width: 510 rpx;
    padding-left: 20 rpx;
}

.rightcontent .cont-item .show-item .prod-text-right {
    margin-left: 20 rpx;
    width: 75%;
}

.rightcontent .cont-item .show-item .prod-text-right .cate-prod-info {
    font-size: 22 rpx;
    color: #999;
    margin: 10 rpx 0 20 rpx 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.rightcontent .cont-item .show-item .prod-text-right .prod-text.more {
    margin: 0;
    font-size: 28 rpx;
    display: -webkit-box;
    word-break: break-all;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    color: #000;
}

.rightcontent .cont-item .show-item .prod-text-right .prod-price.more {
    font-size: 28 rpx;
    color: #eb2444;
    font-family: arial;
}

/* 空 */
.cont-item.empty {
    display: block;
    font-size: 24 rpx;
    padding-top: 400 rpx;
    color: #aaa;
    text-align: center;
}

.leftmenu .ca-empty {
    padding-top: 400 rpx;
    text-align: center;
    color: #aaa;
    font-size: 24 rpx;
}
